	<#list services as service>
	<#if domain == service.refDomain>	
	<#list service.methods as method> 
			<#if method.returnList == true>
	/**
	 * ${method.desc}
	 */
	public List<${method.returnType}> ${method.name}(${domain.entityName?cap_first}Query query){
		return this.queryForList("${domain.entityName?cap_first}.${method.name}", query);
	}
			<#else>
	/**
	 * ${method.desc}
	 */
	public ${method.returnType} ${method.name}(${domain.entityName?cap_first}Query query){
		<#if method.returnType != "void">
		return (${method.returnType})this.queryForObject("${domain.entityName?cap_first}.${method.name}", query);
		</#if>
	}
			</#if>
			<#if method.paging == true>
	/**
	 * ${method.desc}-Count
	 */
	public Integer ${method.name}Count(){
		return (Integer)this.queryForObject("${domain.entityName?cap_first}.${method.name}Count", query);
	}			
			</#if>		
	</#list>
	</#if>
	</#list>